
#include <windows.h>
#include "show_mesh_disp.h"

const char* show_mesh_disp::text[] =
{
    "Load an object from [tgt,ply] file",
    "Load an object from:  ",
};

const int show_mesh_disp::yinc_text[] =
{
    0, // both
    0, // rely on show_mesh_disp::reshape()
};

const int show_mesh_disp::xoffset_text[] = 
{
    0,
    0,
};

bool show_mesh_disp::show_text[] =
{
    true,
    false,
};

bool show_mesh_disp::menu_pos[] =
{
    true,   // these two are
    false,   // alternatives
};

const int show_mesh_disp::text_count = 2;



const short show_mesh_disp::START_ACT_MENU_POS = 0;
//const bool show_mesh_disp::HELP_SHOWED_ON_START = false;



const comp_type show_mesh_disp::DEFAULT_MAT_DIFF[] = {0.6, 0.3, 0.9, 1.0};
const comp_type show_mesh_disp::DEFAULT_MAT_SPEC[] = {0.3, 0.3, 0.3, 1.0};



const char* show_mesh_disp::help_str[] =
{
    "escape - go to the main menu",
    "  f    - show wireframe/solid",
    "  S    - smooth/flat shading",
    "  l    - turn on/off the lights",
    "  d    - display/hide the object",
    "",
    "with LMB pressed mouse movement rotates the scene",
    "with RMB pressed mouse movement rescales the scene",
    //" w/up  - go up in the menu",
    //"s/down - go down in the menu",
};

const int show_mesh_disp::help_count = 8;
